package edu.yctc.weblog.service;

import java.util.List;

import edu.yctc.weblog.dto.TagDTO;
import edu.yctc.weblog.entity.PageDO;
import edu.yctc.weblog.entity.ResultDO;
import edu.yctc.weblog.utils.PageQueryUtil;

public interface TagService {

    public ResultDO<PageDO> getBlogTagPage(PageQueryUtil pageUtil);

    public ResultDO<Integer> getTotalTags();

    public ResultDO<Void> saveTag(String tagName);

    public ResultDO<Void> deleteBatch(Long[] ids);

    public ResultDO<List<TagDTO>> getBlogTagCountForIndex();

}
